using Bean.Entity;
using Bean.Entity.Param;

namespace Bean.Service.IService;

/// <summary>
/// 平台政策任务
/// </summary>
public interface IPolicyPlanRuleTaskService
{
    /// <summary>
    /// 获取政策计划任务
    /// </summary>
    /// <param name="param"></param>
    /// <returns></returns>
    public Task<List<PolicyPlanRuleTaskDto>> GetPolicyPlanTasksAsync(PolicyRuleTaskParam param);


    /// <summary>
    /// 通过TaskId获取任务和计划信息
    /// </summary>
    /// <returns></returns>
    public Task<PolicyPlanRuleTaskDto> GetTaskPlanAsync(long taskId);


    /// <summary>
    /// 修改任务状态
    /// </summary>
    /// <returns></returns>
    public Task<bool> UpdateTaskStatusAsync();
}